home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-10-14 | 593 b | 17 lines | [TEXT/MPS ] |
- # --------------------------------------------------
- # MT2ToolKit, version 1.0b1
- # (C) Copyright by Michael Trofimov, 10/6/95.
- # --------------------------------------------------
- # MPW Shell script to (re)mark Pascal source code from Pascal menu
-
- # Prevent script from aborting if a command returns a nonzero status code
- Set Exit 0
- Set theSour "{Active}"
- Close "{theSour}" -y
- unmark `Markers` "{theSour}" ≥ Dev:Null # remove pred. markers
-
- # mark the file:
- procnames "{theSour}" -m>tempMarc # make new markers
- tempMarc # mark it
- delete -y tempMarc # delete temp file
- Open "{theSour}"